package com.example.springboot2.tools;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@EqualsAndHashCode(callSuper = true)
public class ResponseMsgData<T> extends ResponseMessage<T> {
    private T data;

    public ResponseMsgData(String code, String msg, T data) {
        super(code, msg);
        this.data = data;
    }
}
